package com.dkm.ec.sale.persistence.entity;
import java.text.DecimalFormat;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:skg_sale_report Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:YCM
 * 创建时间:2015-05-07 10:20:33
 */
 @ITable(name="saleReport",code="skg_sale_report")
public class SaleReportTbl extends AbstractPo<String>{
	@IField(name="skuId",column="sku_id_")
	protected String  skuId; 		/*SKU编码*/
	@IField(name="firstCate",column="first_cate_")
	protected String  firstCate; 		/*一级分类*/
	@IField(name="secondCate",column="second_cate_")
	protected String  secondCate; 		/*二级分类*/
	@IField(name="thirdCate",column="third_cate_")
	protected String  thirdCate; 		/*二级分类*/
	@IField(name="skuName",column="sku_name_")
	protected String  skuName; 		/*SKU名称*/
	@IField(name="onSaleTime",column="on_sale_time_")
	protected java.util.Date  onSaleTime; 		/*上架时间*/
	@IField(name="status",column="status_")
	protected String  status; 		/*状态*/
	@IField(name="salePrice",column="sale_price_")
	protected java.math.BigDecimal  salePrice; 		/*销售价*/
	@IField(name="saleQty",column="sale_qty_")
	protected Integer  saleQty; 		/*销售数量*/
	@IField(name="saleTotal",column="sale_total_")
	protected java.math.BigDecimal  saleTotal; 		/*销售价*/
	@IField(name="soQty",column="so_qty_")
	protected Integer  soQty; 		/*订单数量*/
	@IField(name="id",column="id")
	protected String  id; 		/*id*/
	@IField(name="skuKey",column="sku_key_")
	protected String  skuKey; 		/*SKU编码*/
	@IField(name="cateId",column="cate_id_")
	protected String  cateId; 		/*分类ID*/
	
	DecimalFormat df = new DecimalFormat("######0.00");
	
	public void setSkuId(String skuId) 
	{
		this.skuId = skuId;
	}
	/**
	 * 返回 SKU编码
	 * @return
	 */
	public String getSkuId() 
	{
		return this.skuId;
	}
	public void setFirstCate(String firstCate) 
	{
		this.firstCate = firstCate;
	}
	/**
	 * 返回 一级分类
	 * @return
	 */
	public String getFirstCate() 
	{
		return this.firstCate;
	}
	public void setSecondCate(String secondCate) 
	{
		this.secondCate = secondCate;
	}
	/**
	 * 返回 二级分类
	 * @return
	 */
	public String getSecondCate() 
	{
		return this.secondCate;
	}
	public void setThirdCate(String thirdCate) 
	{
		this.thirdCate = thirdCate;
	}
	/**
	 * 返回 二级分类
	 * @return
	 */
	public String getThirdCate() 
	{
		return this.thirdCate;
	}
	public void setSkuName(String skuName) 
	{
		this.skuName = skuName;
	}
	/**
	 * 返回 SKU名称
	 * @return
	 */
	public String getSkuName() 
	{
		return this.skuName;
	}
	public void setOnSaleTime(java.util.Date onSaleTime) 
	{
		this.onSaleTime = onSaleTime;
	}
	/**
	 * 返回 上架时间
	 * @return
	 */
	public java.util.Date getOnSaleTime() 
	{
		return this.onSaleTime;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 状态
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setSalePrice(java.math.BigDecimal salePrice) 
	{
		this.salePrice = salePrice;
	}
	/**
	 * 返回 销售价
	 * @return
	 */
	public java.math.BigDecimal getSalePrice() 
	{
		return this.salePrice;
	}
	public void setSaleQty(Integer saleQty) 
	{
		this.saleQty = saleQty;
	}
	/**
	 * 返回 销售数量
	 * @return
	 */
	public Integer getSaleQty() 
	{
		return this.saleQty;
	}
	public void setSaleTotal(java.math.BigDecimal saleTotal) 
	{
		this.saleTotal = saleTotal;
	}
	/**
	 * 返回 销售价
	 * @return
	 */
	public java.math.BigDecimal getSaleTotal() 
	{
		return this.saleTotal;
	}
	public void setSoQty(Integer soQty) 
	{
		this.soQty = soQty;
	}
	/**
	 * 返回 订单数量
	 * @return
	 */
	public Integer getSoQty() 
	{
		return this.soQty;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getSkuKey() {
		return skuKey;
	}
	public void setSkuKey(String skuKey) {
		this.skuKey = skuKey;
	}
	
	public String getCateId() {
		return cateId;
	}
	public void setCateId(String cateId) {
		this.cateId = cateId;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("skuId", this.skuId) 
		.append("firstCate", this.firstCate) 
		.append("secondCate", this.secondCate) 
		.append("thirdCate", this.thirdCate) 
		.append("skuName", this.skuName) 
		.append("onSaleTime", this.onSaleTime) 
		.append("status", this.status) 
		.append("salePrice", this.salePrice) 
		.append("saleQty", this.saleQty) 
		.append("saleTotal", this.saleTotal) 
		.append("soQty", this.soQty) 
		.append("id", this.id) 
		.toString();
	}
	
}